const _import = require('../utils/view-import/' + process.env.NODE_ENV)

export default {
  routes: [
    {
      path: '/supervise',
      component: _import('supervise')
    },
    {
      path: '/supervise2',
      component: _import('supervise-two')
    },
    {
      path: '/',
      component: _import('index')
    },
    {
      path: '/login',
      component: _import('login')
    },
    {
      path: '*',
      component: _import('404')
    },
    {
      path: '/dataMonitor',
      component: _import('data-monitor')
    },
    {
      path: '/checkMonitor',
      component: _import('check-monitor')
    },
    {
      path: '/usage',
      component: _import('usage')
    },
    {
      path: '/statics',
      component: _import('statics')
    }
  ]
}
